﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Toolkit.Web.Infastructure;

namespace Toolkit.Web.ViewComponents.Button
{
    public sealed class ButtonMenu
    {
        public ButtonMenu()
        {
            Sections = new List<ButtonMenuSection>();
            HtmlAttributes = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase);
        }

        public IDictionary<string, object> HtmlAttributes
        {
            get;
            set;
        }

        public HtmlTemplate OverrideTemplate
        {
            get;
            set;
        }

        public IList<ButtonMenuSection> Sections
        {
            get;
            set;
        }
    }
}
